package ytt.small.fore.service;

import org.springframework.stereotype.Service;
import ytt.small.fore.model.po.User;

/**
 * @Author: small_woods
 * @Date: 2020/6/16 11:51
 */
public interface UserService {
    //新增人员,增加成功，返回1，否则0
    void insert(User user);

    //根据用户名查询密码
    String selectByUserName(String username);

    //根据用户名查询所有信息
    User selectAll(String username);
}
